#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>


char my_strcpy(char*dest,char*src)
{
	char* ret = dest;
	while (*dest = *src)
	{
		dest++;
		src++;
	}
	return ret;
}

int main()
{
	char arr[] = "abcdbfa"; 
	char *arr1 = "cdedads";
	my_strcpy(arr, arr1);
	printf("%s", arr);
	return 0;
}



	
